ArcGIS Runtime SDK for WPF - Library Reference
ExecuteTaskAsync(List<GPParameter>,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > Geoprocessor Class > ExecuteTaskAsync Method : ExecuteTaskAsync(List<GPParameter>,CancellationToken) Method

parameters
The input parameters accepted by the task.
cancellationToken
The cancellation token for cancelling task.
Sends a request to the server to execute a synchronous geoprocessing task.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ExecuteTaskAsync( _
   ByVal parameters As List(Of GPParameter), _
   ByVal cancellationToken As CancellationToken _
) As Task(Of GPExecuteResults)

Parameters

parameters
The input parameters accepted by the task.
cancellationToken
The cancellation token for cancelling task.

Return Value

a Task object with GPExecuteResults upon successful completion. Otherwise, the Task.Exception is set.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.